/*
 * File: DefaultTest.cpp
 * Author: Joe Hare
 * Description: This is the default setup steps that are necessary for doing
 * unit testing in any capacity.
 *
 * This file sets up a few basic things such as a fixture, ect, and an
 * entry point for the testing. This main fixture and suite can be set up
 * for all of your tests or copied in order to segment them however you
 * see fit.
 *
 * The default class is named XTest, it is recommended to modify this.
 *
 * Feel free to delete these comments.
 *
 */

#include <iostream>

/*
#include <cppunit/TestRunner.h>
#include <cppunit/TestResult.h>
#include <cppunit/TestResultCollector.h>
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/BriefTestProgressListener.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
*/

#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>

#include "XTest.h"

int main( int argc, char* argv[] )
{
	CppUnit::TextUi::TestRunner runner;
	CppUnit::TestFactoryRegistry &registry = CppUnit::TestFactoryRegistry::getRegistry();

	runner.addTest( registry.makeTest() );
	runner.run();

	return( 0 );
}
